.home-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 通用动画类 */
.fade-in {
  animation: fadeIn 1s ease-out forwards;
}

.fade-in-delay {
  animation: fadeIn 1s ease-out 0.5s forwards;
  opacity: 0;
}

.slide-up {
  animation: slideUp 1s ease-out forwards;
}

.slide-up-delay {
  animation: slideUp 1s ease-out 0.3s forwards;
  opacity: 0;
  transform: translateY(20px);
}

.slide-right {
  animation: slideRight 1s ease-out 0.5s forwards;
  opacity: 0;
  transform: translateX(-20px);
}

.slide-left {
  animation: slideLeft 1s ease-out 0.5s forwards;
  opacity: 0;
  transform: translateX(20px);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 英雄区域 */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 24px;
  padding: 80px 60px;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.hero-content {
  flex: 1;
  max-width: 600px;
  z-index: 2;
}

.highlight-text {
  color: #fff;
  background: linear-gradient(45deg, #ffd700, #ffa500);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title {
  color: white !important;
  font-size: 3.5rem;
  margin-bottom: 24px;
  font-weight: 800;
  line-height: 1.2;
}

.hero-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.hero-actions Button {
  font-size: 1rem;
  padding: 12px 24px;
}

.hero-graphics {
  flex: 1;
  position: relative;
  height: 300px;
}

/* 统计卡片 */
.stats-cards {
  margin: 60px 0;
}

.stat-card {
  border: none;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  padding: 24px;
  text-align: center;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.stat-icon {
  margin-bottom: 16px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1;
}

.stat-label {
  font-size: 1rem;
  color: #666;
  font-weight: 500;
}

/* 功能区域 */
.features-section {
  margin: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 16px !important;
  font-size: 2.25rem;
  font-weight: 700;
}

.section-description {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px auto;
  color: #666;
  font-size: 1.125rem;
}

.feature-card {
  border: none;
  border-radius: 16px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.feature-icon-container {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  border-radius: 16px 16px 0 0;
}

.feature-icon-wrapper {
  background: white;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.feature-button {
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px;
}

/* 内容区域 */
.content-section {
  margin: 80px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.section-header .ant-typography-h3 {
  margin-bottom: 0 !important;
  font-weight: 600;
}

.section-header a {
  color: #1890ff;
  text-decoration: none;
  font-weight: 500;
}

.section-header a:hover {
  color: #40a9ff;
  text-decoration: underline;
}

/* 最近收藏 */
.recent-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.recent-card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.recent-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.bookmark-icon {
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.bookmark-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bookmark-title {
  font-size: 1.125rem;
  display: block;
  margin-bottom: 4px;
}

.bookmark-description {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #666;
}

.bookmark-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.bookmark-date {
  font-size: 0.875rem;
}

/* 热门文章 */
.articles-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.article-card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.article-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article-title {
  font-size: 1.125rem;
  display: block;
  margin-bottom: 4px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-avatar {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.article-actions {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

.action-item {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: #666;
}

/* CTA区域 */
.cta-section {
  text-align: center;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
  border-radius: 24px;
  padding: 80px 40px;
  margin: 80px 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(245, 87, 108, 0.2);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  z-index: 1;
}

.cta-title {
  color: white !important;
  font-size: 2.5rem;
  margin-bottom: 24px !important;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.cta-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto 32px auto;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.cta-button {
  font-size: 1.125rem;
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 600;
  position: relative;
  z-index: 2;
  background: white;
  color: #f5576c;
  border: none;
}

.cta-button:hover {
  background: #fff;
  color: #f5576c;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.3);
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.75rem;
  }
  
  .hero-section {
    flex-direction: column;
    text-align: center;
    padding: 60px 40px;
  }
  
  .hero-graphics {
    margin-top: 40px;
    height: 200px;
  }
  
  .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .home-page {
    padding: 0 16px;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-description {
    font-size: 1.125rem;
  }
  
  .hero-section {
    padding: 50px 30px;
    margin: 30px 0;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .section-description {
    font-size: 1rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .feature-icon-container {
    height: 160px;
  }
  
  .feature-icon-wrapper {
    width: 100px;
    height: 100px;
  }
  
  .feature-icon-wrapper svg {
    font-size: 40px !important;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .cta-description {
    font-size: 1rem;
  }
  
  .cta-section {
    padding: 60px 30px;
    margin: 60px 0;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .hero-actions Button {
    width: 100%;
  }
  
  .hero-section {
    padding: 40px 20px;
    margin: 20px 0;
    border-radius: 16px;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .feature-icon-container {
    height: 120px;
  }
  
  .feature-icon-wrapper {
    width: 80px;
    height: 80px;
  }
  
  .feature-icon-wrapper svg {
    font-size: 32px !important;
  }
  
  .section-header {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  
  .cta-title {
    font-size: 1.75rem;
  }
  
  .cta-section {
    padding: 50px 20px;
    margin: 50px 0;
    border-radius: 16px;
  }
  
  .cta-button {
    width: 100%;
  }
}